const proxy = require('http-proxy-middleware');
module.exports = function(app) {
    app.use(
        proxy('/api', {
            // target: 'http://121.36.19.83:7190',
            target: 'http://139.198.19.131:7190',
            changeOrigin: true,
            pathRewrite: {
                '^/api': ''
            }
        })
    );
};
